package com.dm.cloud.auth.controller.defalut;

import com.dm.cloud.tkmybatis.service.BaseEntityService;
import com.dm.cloud.tkmybatis.service.EntityBaseController;
import io.swagger.v3.oas.annotations.tags.Tag;
import com.dm.cloud.auth.common.po.AuthDw;
import com.dm.cloud.auth.common.dto.AuthDwDTO;
import com.dm.cloud.auth.common.request.AuthDwSearchRequest;
import com.dm.cloud.auth.service.AuthDwService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;

/**
   * @author hcx
   * @type AuthDwController.java
   * @desc 单位表 AuthDw controller
   */
@RestController
@RequestMapping("/apis/v1/authDw")
@Tag(name =  "单位表  AuthDwcontroller")

public class AuthDwController extends EntityBaseController<AuthDwSearchRequest, AuthDw, AuthDwDTO> {


    @Autowired
    private AuthDwService authDwService;
    @Override
    public AuthDw getEntity() {
        return new AuthDw();
    }

    @Override
    public AuthDwDTO getDTO() {
        return new AuthDwDTO();
    }
    @Override
    public BaseEntityService<AuthDwSearchRequest, AuthDw> getService() {
        return authDwService;
    }


}
